package com.lc.luzhengtang.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/5/25.
 */

public class IndexBean {

    /**
     * code : 200
     * message : 数据返回成功！
     * data : {"banner":[{"id":9,"title":"测试web","picurl":"/uploads/image/20170608/b3a3336839e8b0fddbc9e01a2135180f.jpg","type":2,"goods_id":0,"goodstype_id":0,"content":"<p>宇哥，<\/p>","weburl":""},{"id":8,"title":"测试商品列表","picurl":"/uploads/image/20170608/722d46787ec78558feea6aab18d3a80d.jpg","type":1,"goods_id":0,"goodstype_id":3,"content":"","weburl":""},{"id":10,"title":"测试外连接","picurl":"/uploads/image/20170608/b3e4be6a51c6db39575cb7510865f884.jpg","type":3,"goods_id":0,"goodstype_id":0,"content":"","weburl":"http://app01.app.longcai.net/dashboard/#!/project/1YLAzBKY8"},{"id":7,"title":"测试商品","picurl":"/uploads/image/20170608/b2aa42bf859235ea1bf1509e545c0860.jpg","type":0,"goods_id":2,"goodstype_id":0,"content":"","weburl":""}],"info":[{"id":1,"title":"分销简介"}],"adv":[{"id":2,"picurl":"/uploads/image/20170614/88f9ac021612462c064b0e278de69f74.JPG","type":1,"goods_id":6,"goodstype_id":0,"content":"","weburl":""},{"id":3,"picurl":"/uploads/image/20170614/9261a7cf020839c739ceca9a01320c62.jpg","type":2,"goods_id":0,"goodstype_id":2,"content":"","weburl":""},{"id":4,"picurl":"/uploads/image/20170614/5c52a9edebb8736834c49b1f1a15e1f9.jpg","type":3,"goods_id":0,"goodstype_id":0,"content":"<p>这是广告的web页<\/p>","weburl":""},{"id":5,"picurl":"/uploads/image/20170614/d3a1af2a6ab70a08d1b2eaa7a166d7f8.jpg","type":4,"goods_id":0,"goodstype_id":0,"content":"","weburl":"http://www.baidu.com"}]}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<BannerBean> banner;
        private List<InfoBean> info;
        private List<AdvBean> adv;


        private String sign;

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public List<BannerBean> getBanner() {
            return banner;
        }

        public void setBanner(List<BannerBean> banner) {
            this.banner = banner;
        }

        public List<InfoBean> getInfo() {
            return info;
        }

        public void setInfo(List<InfoBean> info) {
            this.info = info;
        }

        public List<AdvBean> getAdv() {
            return adv;
        }

        public void setAdv(List<AdvBean> adv) {
            this.adv = adv;
        }

        public static class BannerBean {
            /**
             * id : 9
             * title : 测试web
             * picurl : /uploads/image/20170608/b3a3336839e8b0fddbc9e01a2135180f.jpg
             * type : 2
             * goods_id : 0
             * goodstype_id : 0
             * content : <p>宇哥，</p>
             * weburl :
             */

            private int id;
            private String title;
            private String picurl;
            private int type;
            private int goods_id;
            private int goodstype_id;
            private String content;
            private String weburl;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPicurl() {
                return picurl;
            }

            public void setPicurl(String picurl) {
                this.picurl = picurl;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(int goods_id) {
                this.goods_id = goods_id;
            }

            public int getGoodstype_id() {
                return goodstype_id;
            }

            public void setGoodstype_id(int goodstype_id) {
                this.goodstype_id = goodstype_id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getWeburl() {
                return weburl;
            }

            public void setWeburl(String weburl) {
                this.weburl = weburl;
            }
        }

        public static class InfoBean {
            /**
             * id : 1
             * title : 分销简介
             */

            private int id;
            private String title;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }

        public static class AdvBean {
            /**
             * id : 2
             * picurl : /uploads/image/20170614/88f9ac021612462c064b0e278de69f74.JPG
             * type : 1
             * goods_id : 6
             * goodstype_id : 0
             * content :
             * weburl :
             */

            private int id;
            private String picurl;
            private int type;
            private int goods_id;
            private int goodstype_id;
            private String content;
            private String weburl;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            private String title;
            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getPicurl() {
                return picurl;
            }

            public void setPicurl(String picurl) {
                this.picurl = picurl;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(int goods_id) {
                this.goods_id = goods_id;
            }

            public int getGoodstype_id() {
                return goodstype_id;
            }

            public void setGoodstype_id(int goodstype_id) {
                this.goodstype_id = goodstype_id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getWeburl() {
                return weburl;
            }

            public void setWeburl(String weburl) {
                this.weburl = weburl;
            }
        }
    }
}
